package com.zking.ssm.service;

import com.zking.ssm.model.HotelSeller;
import com.zking.ssm.utils.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
public interface IHotelSellerService {
    int deleteByPrimaryKey(Integer id);

    int insert(HotelSeller record);

    int insertSelective(HotelSeller record);

    @Transactional(readOnly = true)
    HotelSeller selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HotelSeller record);

    int updateByPrimaryKeyWithBLOBs(HotelSeller record);

    int updateByPrimaryKey(HotelSeller record);

    @Transactional(readOnly = true)
    List<HotelSeller> selectAll(HotelSeller hotelSeller, PageBean pageBean);
}